gl: Make gdk_gl_context_make_current() return void
authorAlexander Larsson <alexl@redhat.com>
Thu, 9 Oct 2014 15:24:21 +0000 (17:24 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Oct 2014 14:43:32 +0000 (10:43 -0400)
commitfdeb4f8c164bcdc1b54ed46f9e5b7185694ff623
tree5ea13c065a6e2285bbe2a639aef6509fd47396bf
parent017775f28863f233e6683dae723a01f502a8b554
gl: Make gdk_gl_context_make_current() return void

Its not really reasonable to handle failures to make_current, it
basically only happens if you pass invalid arguments to it, and
thats not something we trap on similar things on the X drawing side.

If GL is not supported that should be handled by the context creation
failing, and anything going wrong after that is essentially a critical
(or an async X error).
13 files changed:
gdk/gdkdisplay.c
gdk/gdkdisplayprivate.h
gdk/gdkgl.c
gdk/gdkglcontext.c
gdk/gdkglcontext.h
gdk/gdkwindow.c
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdkglcontext-wayland.h
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkglcontext-x11.h
gtk/gtkglarea.c
gtk/gtkglarea.h
tests/gtkgears.c